﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace iss.sg4210.se18.team6s.jass.DAL
{
    [MetadataType(typeof(AdvertiserAccountMetaData))]
    public partial class AdvertiserAccount
    {
    }

    [MetadataType(typeof(AdvertiserAccountTopUpLogMetaData))]
    public partial class AdvertiserAccountTopUpLog
    {
    }

    public class AdvertiserAccountMetaData
    {
        #region Primitive Properties

        [Required]
        [DisplayName("Account Balance")]
        public object AccountBalance
        {
            get;
            set;
        }

        [Required]
        [DisplayName("User")]
        public object UserId
        {
            get;
            set;
        }

        #endregion
    }

    public class AdvertiserAccountTopUpLogMetaData
    {
        #region Primitive Properties

        [Required]
        [DisplayName("Top Up Date")]
        public object TopUpDate
        {
            get;
            set;
        }

        [Required]
        [DisplayName("Amount")]
        public object Amt
        {
            get;
            set;
        }

        [Required]
        [DisplayName("User")]
        public object UserId
        {
            get;
            set;
        }

        #endregion
    }
}
